/*-------------------------------------------------------------------------

***************** Modification History ***********************************
   @doc
   @module Loyalfrm.h - Header file for Loyalty Receipt and Report functions |
   @end
   
$Log: /SoftPay/SP2KSIM/Source/Print/loyalfrm.h $ 
 * 
 * 1     7/19/99 5:42p Jim_b4
 * 
 * 1     7/19/99 4:27p Jim_b4
 * 
 * 2     6/09/99 11:20a Monique_b1
 * Change headers and file names for SP 2000
**************************************************************************

   Copyright (C) 1999 by VeriFone, Inc.

   All rights reserved.  No part of this software may be reproduced,
   transmitted, transcribed, stored in a retrieval system, or translated
   into any language or computer language, in any form or by any means,
   electronic, mechanical, magnetic, optical, chemical, manual or otherwise,
   without the prior written permission of VeriFone, Inc.

---------------------------------------------------------------------------*/
#ifndef VSLOYFRM_H
#define VSLOYFRM_H

#ifdef VSLOYFRM_C
int inSelectLoyaltyTemplateFile(PRINTER_OBJECT *pobPrinter, char *szFile);
int inPrintLoyaltyReceipt(TRANSACTION_OBJECT *pobTran, PRINTER_OBJECT *pobPrinter);
void vdSetPrintLoyaltyBottomCondition (TRANSACTION_OBJECT *pobTran);
int inPrintLoyaltyBottomLines (PRINTER_OBJECT *pobPrinter);
void vdMakeMessageID(TRANSACTION_OBJECT *pobTran, char *szId);
void vdMakeLoyalty(TRANSACTION_OBJECT *pobTran);
void vdSetLOYSettleReportCondition (VS_BOOL fBatchRpt, VS_BOOL fSettleSucceeded);
int inPrintLoyaltySettlementReport (TRANSACTION_OBJECT *pobTran, VS_BOOL fBatchReport, VS_BOOL fSettleSucceeded, VS_BOOL fCommErr, PRINTER_OBJECT *pobPrinter);
#else
extern void vdSetPrintLoyaltyBottomCondition (void *);
extern int inPrintLoyaltyBottomLines (void *);
extern void vdMakeLoyalty (void * );
extern int inPrintLoyaltyReceipt (void *, void *);
extern void vdMakeMessageID (void *, char *);
extern int inPrintLoyaltySettlementReport (void *, VS_BOOL,VS_BOOL,VS_BOOL,void *);
#endif

#endif
